View Issue Details

IDProjectCategoryView StatusLast Update
0001700K18X001.00 SKB SWANSW Issuepublic2025-07-17 17:05
Reporter(ALTech) Wooshin Kang Assigned To(SW) Jerry Lin Due Date2023-04-14 10:35
PriorityhighSeveritys4-minorReproducibilitysometimes
Status closedResolutionfixed 
Summary0001700: Wrong CEC operation.
Description
I have write on below link to inform you abut issue. Do find tab "BFX-UA300-ENG" int sheet.
There are wrong operation on CEC module. Please check it.

https://docs.google.com/spreadsheets/d/1caapKRjMjn56BwtN0lSZ_ICDON_P7gUOMpvfpP3KDfU/edit#gid=92136616

Thanks.
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (SW) Jason Ling

Activities

(SW) Jerry Lin

2023-04-10 10:27

developer   ~0012769

Last edited: 2023-04-10 10:27

Hi Wooshin,
Please help to use the following F/W to get logcat message.
The CEC debug message is enabled.
And send me the edid file.

FW Link:
/release_by_fxn/swan_test_image/20230407_mantis1496

I have one question about the reproduce.
1. HDMI cable port change -->
   Is Plug-out and Plug-in HDMI cable or controlled by TV's RCU ?
   
BPM-17417 --> remove HDMI Cable --> Change and Insert HDMI Cable
Others --> HDMI Cable port change

If you have any question, please let me know.

Jerry

(ALTech) Wooshin Kang

2023-04-10 13:42

developer   ~0012773

Hi Jerry,

I have attached log file.

1. HDMI cable port change -->
   Is Plug-out and Plug-in HDMI cable or controlled by TV's RCU ?

< steps >
tv off and stb off -> HDMI cable out from tv -> tv on -> port change on tv -> STB on.

Thanks.
log_cec.zip (3,993,748 bytes)

(SW) Jerry Lin

2023-04-10 18:02

developer   ~0012782

Last edited: 2023-04-10 20:27

Hi Wooshin ,
I check with the log(BPM-17400). I don't know if this cec message (Set Stream Path) is sent by the TV itself or because of the insert HDMI cable
<Enter Standby mode>
04-10 13:23:55.334 780 780 W HdmiCecController: [R]:<Standby> 0F:36
04-10 13:23:55.444 780 780 W HdmiCecController: [R]:<Give Device Power Status> 04:8F
04-10 13:23:55.444 780 780 D HdmiControlService: getPowerStatus Intent (sys.stb.on) = 0
.
.
<wakeUp from Standby (From HDMI port 4 ? Are you turn on TV and insert HDMI cable to port 4 ?)>.
04-10 13:24:17.554 780 780 W HdmiCecController: [R]:<Set Stream Path> 0F:86:40:00
04-10 13:24:17.556 780 780 D HdmiControlService: isPowerStandbyOrTransient Intent (sys.stb.on) = 0
04-10 13:24:17.557 780 780 W HdmiControlService: hdmi_wakeUp SendBroadcast Intent (com.skbtv.tv.wakeup) btv_hdmi_control_enabled : 1
04-10 13:24:17.557 780 780 D HdmiControlService: wakeUp SendBroadcast Intent (com.skbtv.tv.wakeup)
.
04-10 13:24:19.525 780 780 W HdmiCecController: [R]:<Set Stream Path> 0F:86:40:00
04-10 13:24:19.528 780 780 D HdmiControlService: Local device is under address allocation. Save OTP callback for later process.
04-10 13:24:19.528 780 780 W WindowManager: mBTVSleepWakeupReceiver : onReceive mIsBTVSleepState=false hdmi_control_enabled=1
04-10 13:24:19.529 780 780 W WindowManager: mBTVSleepWakeupReceiver : onReceive call turnOnTv
.
<turn on TV>
04-10 13:24:21.285 780 1002 W HdmiCecController: [S]:<Text View On> 40:0D
.
.
<Change HDMI to port 1>
04-10 13:24:24.384 780 780 W HdmiCecController: [R]:<Set Stream Path> 0F:86:10:00
04-10 13:24:24.557 780 1002 W HdmiCecController: [S]:<Active Source> 4F:82:10:00

It seems that this cec message(Set Stream Path) will trigger stb to turn on.

Finally please help to check with the CEC message(Set Stream Path>) in the following states and share me the logcat.
debug tag is "HdmiCecController"

1. Remove HDMI Cable from TV
2. Insert HDMI Cable to TV in current HDMI port --> Is the set-top box turned on from standby mode?
3. Insert HDMI Cable to TV in not current HDMI port --> Is the set-top box turned on from standby mode?
4. Use TV's RCU to change HDMI port to current HDMI port --> Is the set-top box turned on from standby mode?


Jerry

(ALTech) Wooshin Kang

2023-04-14 09:01

developer   ~0012856

Hi Jerry,
Below Is test steps.

1. STB connect hdmi port 1 on TV.
2. Do off STB and TV.
3. change hdmi connection to port 2.
4. ON TV

STB is connected on port 2 but is reacting by wrong port command(port 1).
"[R] time=2023-04-11 14:20:13 message=<Set Stream Path> 0F:86:10:00"

I think that root cause of this issue is that edid is not updating by port reconnection.
What is your opinion ?

<dumpsys>
[R] time=2023-04-11 14:19:44 message=<Standby> 0F:36
[R] time=2023-04-11 14:19:44 message=<Standby> 0F:36
[R] time=2023-04-11 14:19:53 message=<Device Vendor Id> 0F:87:00:E0:91
[R] time=2023-04-11 14:20:03 message=<Device Vendor Id> 0F:87:00:E0:91
[R] time=2023-04-11 14:20:10 message=<Device Vendor Id> 0F:87:00:E0:91
[R] time=2023-04-11 14:20:10 message=<Device Vendor Id> 0F:87:00:E0:91
[R] time=2023-04-11 14:20:10 message=<Device Vendor Id> 0F:87:00:E0:91
[R] time=2023-04-11 14:20:11 message=<Device Vendor Id> 0F:87:00:E0:91
[R] time=2023-04-11 14:20:11 message=<Give Device Vendor Id> 04:8C
[S] time=2023-04-11 14:20:11 message=<Device Vendor Id> 4F:87:EC:01:E2
[R] time=2023-04-11 14:20:11 message=<Give Device Power Status> 04:8F
[S] time=2023-04-11 14:20:11 message=<Report Power Status> 40:90:01
[R] time=2023-04-11 14:20:11 message=<Give Device Vendor Id> 04:8C
[S] time=2023-04-11 14:20:11 message=<Device Vendor Id> 4F:87:EC:01:E2
[R] time=2023-04-11 14:20:12 message=<Give Device Power Status> 04:8F
[S] time=2023-04-11 14:20:12 message=<Report Power Status> 40:90:01
[R] time=2023-04-11 14:20:12 message=<Give Osd Name> 04:46
[S] time=2023-04-11 14:20:12 message=<Set Osd Name> 40:47:42:46:58:2D:55:41:33:30:30
[R] time=2023-04-11 14:20:12 message=<Give Physical Address> 04:83
[S] time=2023-04-11 14:20:12 message=<Report Physical Address> 4F:84:10:00:04
[R] time=2023-04-11 14:20:13 message=<Set Stream Path> 0F:86:10:00
[S] time=2023-04-11 14:20:13 message=<Active Source> 4F:82:10:00
[S] time=2023-04-11 14:20:13 message=<Menu Status> 40:8E:00
[R] time=2023-04-11 14:20:15 message=<Give Device Power Status> 04:8F
[S] time=2023-04-11 14:20:15 message=<Report Power Status> 40:90:01
[R] time=2023-04-11 14:20:16 message=<Device Vendor Id> 0F:87:00:E0:91
[R] time=2023-04-11 14:20:16 message=<Set Stream Path> 0F:86:10:00
[S] time=2023-04-11 14:20:16 message=<Report Physical Address> 4F:84:20:00:04
[S] time=2023-04-11 14:20:16 message=<Device Vendor Id> 4F:87:EC:01:E2
[S] time=2023-04-11 14:20:16 message=<Set Osd Name> 40:47:42:46:58:2D:55:41:33:30:30
[S] time=2023-04-11 14:20:16 message=<Give System Audio Mode Status> 45:7D
[S] time=2023-04-11 14:20:16 message=<Text View On> 40:0D
[S] time=2023-04-11 14:20:16 message=<Active Source> 4F:82:20:00
[S] time=2023-04-11 14:20:16 message=<Menu Status> 40:8E:00
[S] time=2023-04-11 14:20:16 message=<Give Device Power Status> 40:8F
[S] time=2023-04-11 14:20:17 message=<Give Device Power Status> 40:8F
[S] time=2023-04-11 14:20:17 message=<Report Physical Address> 4F:84:20:00:04
[S] time=2023-04-11 14:20:17 message=<Device Vendor Id> 4F:87:EC:01:E2
[S] time=2023-04-11 14:20:17 message=<Set Osd Name> 40:47:42:46:58:2D:55:41:33:30:30
[S] time=2023-04-11 14:20:17 message=<Give System Audio Mode Status> 45:7D
[R] time=2023-04-11 14:20:17 message=<Give Device Power Status> 04:8F
[S] time=2023-04-11 14:20:17 message=<Report Power Status> 40:90:00
[R] time=2023-04-11 14:20:17 message=<Give Osd Name> 04:46
[S] time=2023-04-11 14:20:17 message=<Set Osd Name> 40:47:42:46:58:2D:55:41:33:30:30
[R] time=2023-04-11 14:20:17 message=<Give Osd Name> 04:46
[S] time=2023-04-11 14:20:17 message=<Set Osd Name> 40:47:42:46:58:2D:55:41:33:30:30
[R] time=2023-04-11 14:20:18 message=<Report Power Status> 04:90:00
[S] time=2023-04-11 14:20:18 message=<Active Source> 4F:82:20:00
[S] time=2023-04-11 14:20:18 message=<Menu Status> 40:8E:00
[R] time=2023-04-11 14:20:18 message=<Report Power Status> 04:90:00
[S] time=2023-04-11 14:20:18 message=<Feature Abort> 40:00:90:00
[R] time=2023-04-11 14:20:18 message=<Give Device Vendor Id> 04:8C
[S] time=2023-04-11 14:20:18 message=<Device Vendor Id> 4F:87:EC:01:E2
[R] time=2023-04-11 14:20:19 message=<Give Device Power Status> 04:8F
[S] time=2023-04-11 14:20:19 message=<Report Power Status> 40:90:00
[R] time=2023-04-11 14:20:19 message=<Give Osd Name> 04:46
[S] time=2023-04-11 14:20:19 message=<Set Osd Name> 40:47:42:46:58:2D:55:41:33:30:30
[R] time=2023-04-11 14:20:20 message=<Give Osd Name> 04:46
[S] time=2023-04-11 14:20:20 message=<Set Osd Name> 40:47:42:46:58:2D:55:41:33:30:30
[R] time=2023-04-11 14:20:33 message=<Device Vendor Id> 0F:87:00:E0:91
[R] time=2023-04-11 14:20:33 message=<Device Vendor Id> 0F:87:00:E0:91

(SW) Jerry Lin

2023-04-14 13:51

developer   ~0012865

Hi Wooshin,
SWAN can not get edid info in standby mode.
Because it has a power switch to control HDMI on/off.

I remember that SWAN can not be turn on when TV was turned on or TV HDMI port was changed.
Has the behavior of CEC been changed ?
I can add some protection to prevent SWAN device from being opened.

Jerry

(ALTech) Wooshin Kang

2023-04-14 14:21

developer   ~0012868

Hi Jerry,

If you have some solution, add it.

thanks.

(ALTech) Wooshin Kang

2023-04-25 08:46

developer   ~0012987

Hi jerry,

Do you have any update ?

(SW) Jerry Lin

2023-04-25 13:51

developer   ~0012991

Hi Wooshin,
Please help to download the test F/W from ALT Server.
The download link is :
/release_by_fxn/swan_test_image/mantis1700/usb_bfx-ua300_V19.536.19_SD.zip

My modification is as follows:
1. Re-read the CEC physical address from edid when the device is turned on.
2. Stop receiving CEC message when the device is in standby mode.

Jerry

(ALTech) Wooshin Kang

2023-04-25 15:00

developer   ~0012993

Hi Jerry,

Please check attached video.
I can't change hdmi port.

Thanks.

(SW) Jerry Lin

2023-04-25 15:20

developer   ~0012994

Last edited: 2023-04-25 15:33

Hi Wooshin ,
Is the status of the SWAN in standby mode ?
And please share me the cec log.

In this test FW .
2. Stop receiving CEC message when the device is in standby mode.

Jerry

(ALTech) Wooshin Kang

2023-04-25 16:22

developer   ~0012995

Hi Jerry,

Please check attached log.

Thanks.

(SW) Jerry Lin

2023-04-25 18:34

developer   ~0013001

Hi Wooshin,
I check with the log.
I found that TV send "<Active Source> 0F:82:00:00" to device. This is very strange.
Please help to confirm if other TVs do the same.

04-25 15:31:55.501 729 729 W HdmiCecController: [R]:<Active Source> 0F:82:00:00
04-25 15:31:55.721 729 729 W HdmiCecController: [R]:<Routing Change> 0F:80:10:00:20:00
04-25 15:31:55.722 729 1084 W HdmiCecController: [S]:<Active Source> 4F:82:20:00
04-25 15:31:55.846 729 1084 W HdmiCecController: [S]:<Menu Status> 40:8E:00
04-25 15:31:56.491 729 729 W HdmiCecController: [R]:<Give Device Vendor Id> 04:8C
04-25 15:31:56.492 729 1084 W HdmiCecController: [S]:<Device Vendor Id> 4F:87:EC:01:E2
04-25 15:31:56.821 729 729 W HdmiCecController: [R]:<Give Osd Name> 04:46
04-25 15:31:56.822 729 1084 W HdmiCecController: [S]:<Set Osd Name> 40:47:42:46:58:2D:55:41:33:30:30

The following is my TV's message.
04-25 18:32:11.960 694 694 W HdmiCecController: [R]:<Routing Change> 0F:80:10:00:20:00
04-25 18:32:11.965 694 893 W HdmiCecController: [S]:<Active Source> 4F:82:20:00
04-25 18:32:12.089 694 893 W HdmiCecController: [S]:<Menu Status> 40:8E:00
04-25 18:32:12.287 694 694 W HdmiCecController: [R]:<Feature Abort> 00:00:1F:01
04-25 18:32:12.507 694 694 W HdmiCecController: [R]:<Feature Abort> 04:00:8E:00
04-25 18:32:13.498 694 694 W HdmiCecController: [R]:<Vendor Command With Id> 0F:A0:08:00:1F:01:5E:02:06:00:00

Jerry

(ALTech) Wooshin Kang

2023-04-27 10:16

developer   ~0013021

Hi jerry,

We are testing in SAMSUNG TV and test's result is inconsistent.
If I would have, I will share.

Thanks.

(ALTech) Wooshin Kang

2023-04-27 12:32

developer   ~0013025

Hi jerry,

There is side effect.
It is same with SAMSUNG TV and LG TV.

< Test Steps >
1. Off STB and TV
2. On TV
3. STB keep off ( should be ON by CEC )

Thanks.

(ALTech) Wooshin Kang

2023-05-08 09:19

developer   ~0013052

Hi Jerry,

Do you have any update ?

Thanks.

(SW) Jerry Lin

2023-05-10 15:51

developer   ~0013090

Hi Wooshin,
We have discussed this issue and provided test FW. But it doesn't seem to improve this issue.
1. The CEC physical address cannot be updated. Because the EDID informatin cannot be updated in standby mode. This is a limitation.

jerry

Issue History

Date Modified Username Field Change
2023-04-05 09:40 (ALTech) Wooshin Kang New Issue
2023-04-05 09:40 (ALTech) Wooshin Kang Status new => assigned
2023-04-05 09:40 (ALTech) Wooshin Kang Assigned To => (SW) River Wong
2023-04-05 21:29 (SW) Jason Ling Issue Monitored: (SW) Jason Ling
2023-04-05 21:35 (SW) Jason Ling Assigned To (SW) River Wong => (SW) Jerry Lin
2023-04-06 17:59 (SW) Jacky Chiang Severity s2-severe => s4-minor
2023-04-10 10:27 (SW) Jerry Lin Note Added: 0012769
2023-04-10 10:27 (SW) Jerry Lin Note Edited: 0012769
2023-04-10 13:42 (ALTech) Wooshin Kang Note Added: 0012773
2023-04-10 13:42 (ALTech) Wooshin Kang File Added: log_cec.zip
2023-04-10 18:02 (SW) Jerry Lin Note Added: 0012782
2023-04-10 20:27 (SW) Jerry Lin Note Edited: 0012782
2023-04-14 09:01 (ALTech) Wooshin Kang Note Added: 0012856
2023-04-14 13:51 (SW) Jerry Lin Note Added: 0012865
2023-04-14 14:21 (ALTech) Wooshin Kang Note Added: 0012868
2023-04-25 08:46 (ALTech) Wooshin Kang Note Added: 0012987
2023-04-25 13:51 (SW) Jerry Lin Note Added: 0012991
2023-04-25 15:00 (ALTech) Wooshin Kang Note Added: 0012993
2023-04-25 15:00 (ALTech) Wooshin Kang File Added: BPM-17400_Port_Issue.mp4
2023-04-25 15:20 (SW) Jerry Lin Note Added: 0012994
2023-04-25 15:33 (SW) Jerry Lin Note Edited: 0012994
2023-04-25 16:22 (ALTech) Wooshin Kang Note Added: 0012995
2023-04-25 16:22 (ALTech) Wooshin Kang File Added: BPM-17400_Port_Issue_logcat.log
2023-04-25 18:34 (SW) Jerry Lin Note Added: 0013001
2023-04-27 10:16 (ALTech) Wooshin Kang Note Added: 0013021
2023-04-27 12:32 (ALTech) Wooshin Kang Note Added: 0013025
2023-05-08 09:19 (ALTech) Wooshin Kang Note Added: 0013052
2023-05-10 15:51 (SW) Jerry Lin Note Added: 0013090
2025-07-17 17:05 (PM) Sheila Tu Status assigned => closed
2025-07-17 17:05 (PM) Sheila Tu Resolution open => fixed